package com.linzp.bishe.service;

import com.linzp.bishe.common.Result;
import com.linzp.bishe.entity.TeachingReward;
import com.baomidou.mybatisplus.extension.service.IService;
import com.linzp.bishe.model.TeachingRewardModel;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 林泽鹏
 * @since 2021-11-01
 */
public interface TeachingRewardService extends IService<TeachingReward> {
	public String saveMultipartFile(MultipartFile file);

	public void saveCacheToFile(String name);

	public void getByIdAllTeachingReward(Result success, Integer id, Integer current, Integer page,
	                               String searchAwardName,String searchAchievementName,String searchStatus);

	public String updateMultipartFile(MultipartFile file, String fileName);

	public void deleteTeachingReward(TeachingRewardModel teachingReward);

	public void dealStatus(Integer id,String status);

	public boolean cheakRepeat(String element1);
}
